﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;


namespace Site.Models
{
    public interface IMessageRepository 
    {
        IEnumerable<Message> GetReceivedMessages();
        IEnumerable<Message> GetSentMessages();
        Message GetMessageById(Guid id);
        bool IsMember(string name);
        bool NewMessage(Message message);
        void ReadMessage(Guid messageId);

    }
}
